package com.yunxi.bizToBaseData.pojo;


import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author 
 * @since 2019-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysDict对象", description="字典表")
public class DictVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String dictId;

    @ApiModelProperty(value = "名称")
    private String dictValue;

    @ApiModelProperty(value = "值")
    private String dictKey;

    @ApiModelProperty(value = "父id")
    private String pid;

    @ApiModelProperty(value = "排序")
    private Integer sortNo;

    @ApiModelProperty(value = "级别")
    @JsonIgnore
    private Integer lv;

    @ApiModelProperty(value = "根id")
    @JsonIgnore
    private String rid;

    @JsonIgnore
    private String numCode;
    @JsonIgnore
    private String simpleCode;
    @JsonIgnore
    private String enCode;
    @ApiModelProperty(value = "状态")
    private Integer state;
    @JsonIgnore
    private String tenantId;

    private Integer source;

    private List<DictVO> dictlist = new ArrayList<DictVO>();
}
